function[n]=u(c)
n=0;
for i=1:length(c)
  if(c(i)=='1')n=n+1;end
end
end